package za.org.meraka.mu;

public class Score implements Comparable{
	String topic;
	int similarity;

public Score() {
	topic = new String();
	similarity = 0;
}

public void setTopic(String topic) {
	this.topic = topic;
}

public void setSimilarity(int similarity) {
	this.similarity = similarity;
}

public String getTopic() {
	return topic;
}

public int getSimilarity() {
	return similarity;
}

public int compareTo(Object tmp) {
	return ((Score)tmp).similarity - similarity;
}


}

